package users

import "go_auth/models/users"

type Source struct {
	users.Source
}

func (s *Source) CheckSource() bool {
	return users.CheckSource(s.SourceId)
}

func (s *Source) AddSource() int {
	return s.Source.AddSource()
}

func (s *Source) UpdateSource() int {
	return s.Source.UpdateSource()
}

func (s *Source) DeleteSource() int {
	return s.Source.DeleteSource()
}

func (s *Source) FindSources() interface{} {
	return users.FindSources()
}
